메인 콘텐츠로 건너뛰기
POST
/
catalogs
/
bulk-add
Create multiple catalogs
curl --request POST \
  --url https://your_a2_service/catalogs/bulk-add \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
[
  {
    "metadata": {
      "category": "<string>",
      "id": "<string>",
      "image_link": "<string>",
      "title": "<string>",
      "brand": "<string>",
      "created_at": "2023-11-07T05:31:56Z",
      "link": "<string>",
      "seller_name": "<string>",
      "updated_at": "2023-11-07T05:31:56Z"
    },
    "id": "",
    "schema": "creative.catalog",
    "source": "<string>"
  }
]
'
[
  {
    "metadata": {
      "category": "<string>",
      "id": "<string>",
      "image_link": "<string>",
      "title": "<string>",
      "brand": "<string>",
      "created_at": "2023-11-07T05:31:56Z",
      "link": "<string>",
      "seller_name": "<string>",
      "updated_at": "2023-11-07T05:31:56Z"
    },
    "id": "",
    "schema": "creative.catalog",
    "source": "<string>"
  }
]

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Body

application/json
metadata
CatalogMetadataSchema · object
required

카탈로그 아이템의 메타데이터.

schema 필드에 정의된 스키마는 최소 필수 필드를 지정합니다. 스키마 정의 외에 추가 필드를 허용하고 보존됩니다.

id
string
default:""

카탈로그 아이템의 ID

schema
string
default:creative.catalog

카탈로그 아이템의 스키마.

지원되는 스키마:

  • creative.catalog: CatalogMetadataSchema
Allowed value: "creative.catalog"
source
string | null

카탈로그 아이템의 소스

Response

Successful Response

metadata
CatalogMetadataSchema · object
required

카탈로그 아이템의 메타데이터.

schema 필드에 정의된 스키마는 최소 필수 필드를 지정합니다. 스키마 정의 외에 추가 필드를 허용하고 보존됩니다.

id
string
default:""

카탈로그 아이템의 ID

schema
string
default:creative.catalog

카탈로그 아이템의 스키마.

지원되는 스키마:

  • creative.catalog: CatalogMetadataSchema
Allowed value: "creative.catalog"
source
string | null

카탈로그 아이템의 소스